import random

from ArticleSpider.settings import USER_AGENTS

def random_user_agent():
	random_index=random.randint(0,len(USER_AGENTS)-1)
	return USER_AGENTS[random_index]

if __name__=='__main__':
    print(random_user_agent())